import React,{useContext as Context}from 'react'
// 负责模板

import { ColorContext } from './Color';

function ShowArea(){
    const {color} = Context(ColorContext)
    return (<div style={{color:color}}>字体颜色为blue</div>)
}
export default ShowArea